import React from 'react';
import ReactDOM from 'react-dom';
import Router from './router';
import { StoreContext } from 'redux-react-hook'
import store from './store';

import './index.css';
import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'

ReactDOM.render(
  <StoreContext.Provider value={store}>
    <Router />
  </StoreContext.Provider>,
  document.getElementById('root')
);